package com.xiaoergekeji.cloud.devops.scheduler.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description //TODO
 * @Author Qi Ding
 * @Date 2021/5/23 6:24 下午
 * @Version 1.0
 */
@Data
public class TaskLogDTO {
    @ApiModelProperty(value = "任务名称")
    private String jobName;

    @ApiModelProperty(value = "任务描述")
    private String jobDescription;

    @ApiModelProperty(value = "执行器类型")
    private String executorType;

    @ApiModelProperty(value = "执行开始时间")
    private Long fireTime;

    @ApiModelProperty(value = "执行时长")
    private Long jobRunTime;

    @ApiModelProperty(value = "执行结束时间")
    private Long fireEndTime;

    @ApiModelProperty(value = "上次执行时间")
    private Long prevFireTime;

    @ApiModelProperty(value = "下次执行时间")
    private Long nextFireTime;

    @ApiModelProperty(value = "执行状态")
    private String jobStatus;

    @ApiModelProperty(value = "触发器类型")
    private String triggerType;

    @ApiModelProperty(value = "CRON表达式")
    private String cronExpression;

    @ApiModelProperty(value = "触发开始时间")
    private Long triggerStartTime;

    @ApiModelProperty(value = "触发结束时间")
    private Long triggerEndTime;

    @ApiModelProperty(value = "触发间隔时间")
    private Long repeatInterval;

    @ApiModelProperty(value = "触发重复次数")
    private Integer repeatCount;

    @ApiModelProperty(value = "服务名称")
    private String serviceId;

    @ApiModelProperty(value = "请求路径")
    private String path;

    @ApiModelProperty(value = "请求方式")
    private String method;

    @ApiModelProperty(value = "请求参数")
    private String jsonArgs;

    @ApiModelProperty(value = "响应类型")
    private String contentType;

    @ApiModelProperty(value = "响应结果")
    private String jobResult;

    @ApiModelProperty(value = "任务异常")
    private String jobException;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;
}
